:root {
  font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;

  color-scheme: light;
  color: #213547;
  background-color: #f5f7fa;
  --brand-gradient-start: #667eea;
  --brand-gradient-end: #764ba2;
  --surface-color: #ffffff;
  --surface-muted: #f5f7fa;
  --text-strong: #1f2d3d;
  --text-subtle: #5c6b8a;
  --text-soft: #7f8da5;
  --card-radius: 20px;
  --shadow-soft: 0 24px 60px -28px rgba(35, 54, 116, 0.35);
  --shadow-glow: 0 30px 80px -20px rgba(102, 126, 234, 0.38);

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  font-weight: 500;
  color: #646cff;
  text-decoration: inherit;
}
a:hover {
  color: #535bf2;
}

html, body { height: 100%; }
body {
  margin: 0;
  display: block;
  overflow: hidden; /* 移除页面滚动条 */
  background:
    radial-gradient(circle at 20% -10%, rgba(118, 75, 162, 0.15), transparent 55%),
    radial-gradient(circle at 85% 10%, rgba(102, 126, 234, 0.18), transparent 50%),
    #f4f6fb;
}

h1 {
  font-size: 3.2em;
  line-height: 1.1;
}

button {
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0.6em 1.2em;
  font-size: 1em;
  font-weight: 500;
  font-family: inherit;
  background-color: #1a1a1a;
  cursor: pointer;
  transition: border-color 0.25s;
}
button:hover {
  border-color: #646cff;
}
button:focus,
button:focus-visible {
  outline: 4px auto -webkit-focus-ring-color;
}

.card {
  padding: 2em;
}

#app { max-width: none; padding: 0; margin: 0; text-align: left; }

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(110, 126, 165, 0.4);
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(86, 102, 150, 0.55);
}

.dashboard {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 100%;
  color: var(--text-strong);
}

.dashboard-hero {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px;
  border-radius: 26px;
  background: linear-gradient(135deg, var(--brand-gradient-start) 0%, var(--brand-gradient-end) 100%);
  box-shadow: var(--shadow-glow);
  color: #fff;
  overflow: hidden;
}

.dashboard-hero::after {
  content: "";
  position: absolute;
  inset: -40% 40% auto -30%;
  min-width: 360px;
  height: 360px;
  background: rgba(255, 255, 255, 0.12);
  filter: blur(90px);
  z-index: 0;
}

.dashboard-hero__text {
  position: relative;
  z-index: 1;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dashboard-hero__eyebrow {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  font-weight: 600;
}

.dashboard-hero__title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
}

.dashboard-hero__desc {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
}

.dashboard-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.dashboard-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  backdrop-filter: blur(6px);
}

.dashboard-hero__badge {
  position: relative;
  z-index: 1;
  padding: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  display: grid;
  place-items: center;
  color: #ffffff;
}

.dashboard-hero__badge .el-icon {
  font-size: 58px;
}

.dashboard-card {
  border-radius: var(--card-radius) !important;
  box-shadow: var(--shadow-soft) !important;
  border: none !important;
  overflow: hidden;
}

.dashboard-card :deep(.el-card__body) {
  padding: 0;
}

.dashboard-card :deep(.el-card__header) {
  font-weight: 600;
  font-size: 16px;
  padding: 20px 28px;
  border-bottom: 1px solid rgba(32, 48, 84, 0.08);
  color: var(--text-strong);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  padding: 28px;
}

.info-grid__item {
  padding: 18px;
  border-radius: 18px;
  background: rgba(244, 246, 251, 0.7);
  border: 1px solid rgba(130, 146, 198, 0.12);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.info-grid__label {
  font-size: 14px;
  color: var(--text-subtle);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.info-grid__value {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-strong);
  word-break: break-word;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.tips-card {
  position: relative;
  height: 100%;
  border-radius: var(--card-radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-soft);
  border: none;
}

.tips-card :deep(.el-card__body) {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px;
  height: 100%;
}

.tips-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.12), rgba(118, 75, 162, 0.18));
  color: var(--brand-gradient-start);
}

.tips-card__title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-strong);
  margin: 0;
}

.tips-card__desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-soft);
  margin: 0;
}

@media (max-width: 960px) {
  .dashboard-hero {
    padding: 28px;
  }

  .dashboard-hero__title {
    font-size: 28px;
  }

  .info-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    padding: 24px;
  }
}

@media (max-width: 720px) {
  .dashboard-hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .dashboard-hero__badge {
    align-self: flex-end;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-color-scheme: light) {
  :root {
    color: #213547;
    background-color: #ffffff;
  }
  a:hover {
    color: #747bff;
  }
  button {
    background-color: #f9f9f9;
  }
}
